package indi.woniu.field;

/**
 * @Author: GaN601
 * @Date: 2021/12/10 13:00
 * @Description: 表名映射
 */
public enum Tables {
    /**
     * 表映射
     */
    PAPER("paper"), USER("user"),ROLE("role");
    private String table;
    
    /**
     * 重写 toString
     *
     * @return 直接返回表名
     */
    @Override
    public String toString() {
        return this.table;
    }
    
    
    Tables(final String table) {
        this.table = table;
    }
    
    public String getTable() {
        return table;
    }
    
    public void setTable(final String table) {
        this.table = table;
    }
}
